import request from '@/utils/request'
// 自我评价List
export function teacherSelfListApi(query) {
  return request({
    url: '/jsjx/teacherSelfEvaluation/list',
    method: 'get',
    params: query
  })
};
// 自我评价ById
export function teacherSelfByIdApi(id) {
  return request({
    url: `/jsjx/teacherSelfEvaluation/${id}`,
    method: 'get',
  })
};
// 自我评价Add
export function teacherSelfAddApi(data) {
  return request({
    url: '/jsjx/teacherSelfEvaluation',
    method: 'post',
    data
  })
};
// 自我评价Edit
export function teacherSelfEditApi(data) {
  return request({
    url: '/jsjx/teacherSelfEvaluation',
    method: 'put',
    data
  })
};
// 自我评价Del
export function teacherSelfDelApi(id) {
  return request({
    url: `/jsjx/teacherSelfEvaluation/${id}`,
    method: 'delete',
  })
};